package com.itheima.mapper;

import com.itheima.domian.Student;

import java.io.IOException;
import java.util.List;

public interface StudentMapper {

    Student find(Student student)throws IOException;
    List<Student> findAll()throws IOException;
    void delete(int cid)throws IOException;
    void add(Student student)throws IOException;
    void update(Student student) throws IOException;
    Student findById(Integer cid)throws IOException;
}
